keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about B100/200/400/800 ISDN BRI Cards

DID Problem - Solved

15 years 10 months ago #1107 by miaolin
Could you print the DID out? may be asterisk get a little different DID message?
15 years 10 months ago #1108 by andreafi
Sorry, what is the DID out?
15 years 10 months ago #1109 by james.zhu
hello,
please post your misdn.conf and extensions.conf, it cuts some digits, please check it:
Starting mISDN/1-u2 at from-pstn,011197111,1 failed so falling back to exten 's'
make sure the logic is correct to route to right extensions or
add this command into your extensions:
exten => _011197111 .,1,WaitForDigits(6000,2,true,15)

regards!
James.zhu

15 years 10 months ago #1110 by andreafi
These are the configuration files.

Is it possible that I have to change the context of the isdn trunk?

Andrea
Attachments:
15 years 10 months ago #1113 by james.zhu
hi,
please try it in this way:
[ext-did]
include => ext-did-custom
exten => fax,1,Goto(ext-fax,in_fax,1)
exten => _011197111 .,1,WaitForDigits(6000,2,true,15) // add this line for more digits
exten => _011197111XX,1,Set(__FROM_DID=${EXTEN})
exten => _011197111XX,n,Gosub(app-blacklist-check,s,1)
exten => _011197111XX,n,GotoIf($[ "${CALLERID(name)}" != "" ] ?cidok)
exten => _011197111XX,n,Set(CALLERID(name)=${CALLERID(num)})
exten => _011197111XX,n(cidok),Noop(CallerID is ${CALLERID(all)})
exten => _011197111XX,n,Goto(from-did-direct,452,1)
is '011197833' your fax number? maybe it go to there because of no exact match.
Regards!
James.zhu

15 years 10 months ago #1120 by andreafi
It doesn't works.

This is the response:

== Starting mISDN/3-u6 at from-pstn,011197111,1 failed so falling back to exten 's'
-- Executing [s@from-pstn] NoOp("mISDN/3-u6", "No DID or CID Match") in new stack
-- Executing [s@from-pstn] GotoIf("mISDN/3-u6", "0?ext-did|ZapN|1") in new stack
-- Executing [s@from-pstn] Wait("mISDN/3-u6", "2") in new stack
-- Executing [s@from-pstn] Playback("mISDN/3-u6", "ss-noservice") in new stack
-- <mISDN/3-u6> Playing 'ss-noservice' (language 'it')
== Spawn extension (from-pstn, s, 4) exited non-zero on 'mISDN/3-u6'

Sorry, the 011197833 was a mistake: the radix is 011197111

Have you got some other suggestion?
Thanks.

Andrew
Time to create page: 0.040 seconds
Powered by Kunena Forum